package com.scu.dao;

import com.scu.pojo.Notice;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NoticeDao {
    public List<Notice> getNotice();

    public int addNotice(@Param("notice") Notice notice);

    public int updateNotice(@Param("notice") Notice notice);

    public int deleteNotice(@Param("notice_id") int notice_id);

    public Notice getNoticeDetail(@Param("notice_id") int notice_id);
}
